import request from '@/utils/request'

// 查询模拟填报列表
export function listCompassSimulateFill(query) {
    return request({
        url: '/system/CompassSimulateFill/list',
        method: 'get',
        params: query
    })
}

// 查询模拟填报详细
export function getCompassSimulateFill(id) {
    return request({
        url: '/system/CompassSimulateFill/' + id,
        method: 'get'
    })
}

// 新增模拟填报
export function addCompassSimulateFill(data) {
    return request({
        url: '/system/CompassSimulateFill',
        method: 'post',
        data: data
    })
}

// 修改模拟填报
export function updateCompassSimulateFill(data) {
    return request({
        url: '/system/CompassSimulateFill',
        method: 'put',
        data: data
    })
}

// 删除模拟填报
export function delCompassSimulateFill(id) {
    return request({
        url: '/system/CompassSimulateFill/' + id,
        method: 'delete'
    })
}

// 导出模拟填报
export function exportCompassSimulateFill(query) {
    return request({
        url: '/system/CompassSimulateFill/export',
        method: 'get',
        params: query
    })
}